package cn.edu.djtu.fw.dao;

import java.util.List;

import cn.edu.djtu.fw.model.Goods;
import cn.edu.djtu.fw.model.Vgoods;

public interface GoodsMapper {
	int deleteByPrimaryKey(Integer gid);

	int insert(Goods goods);

	int insertSelective(Goods goods);

	Goods selectByPrimaryKey(Integer gid);

	int updateByPrimaryKeySelective(Goods goods);

	int updateByPrimaryKey(Goods goods);

	Vgoods selectGoodsViewByPrimaryKey(Integer gid);

	List<Goods> getAllGoods(Goods goods);
}